<script setup>
import { useRouter } from 'vue-router';

const router = useRouter()
function tologin() {
    router.push('/login')
}
</script>

<template>
    <div class="main">
        <van-nav-bar title="注册" left-text="返回登录" left-arrow @click-left="tologin" />
        <div class="content">
            <router-view></router-view>
        </div>
    </div>
</template>
<style lang="scss" scoped>

</style>